package com.itcast.tanhuaserver.domain;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @PachageName: com.itcast.tanhuasso.domain
 * @ClassName:
 * @Description: MybatisPlus自动填充
 * @Author: Hushi
 * @DateTime: 2021/2/720:12
 * @Version 1.0
 */
@Data
public abstract class BasePojo {
    @TableField(fill = FieldFill.INSERT)
    private Date created;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updated;
}
